package com.zua.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Good {
  private long id;
  private long catelogId;
  private long userId;
  private String name;
  private double price;
  private double realPrice;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Date createTime;
  private String describle;
  private long status;
  private String imgUrl;
}
